fix(ts): avoid pnpm workspace bin link warnings before build#2328
Merged
curtisman merged 2 commits intoMay 12, 2026
Conversation
067d978 to
cee361b
Compare
cee361b to
1e1cc26
Compare
1e1cc26 to
d80cfbd
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
fix(ts): pnpm workspace bin link warnings
binentries fromdist/*targets to checked-in shim entrypoints underbin/action-grammar,mcp-plan-validation,coder-wrapper, andkp-testdist/*files when present and print a clear build instruction if not yet builtdocs: WSL2 setup clarification
sudo apt install -y make build-essential) before the clone/build stepsWhy
pnpm icreates executable symlinks during install. For workspace packages whosebinpoints directly todist/*outputs, install warns when those compiled files don't exist yet (fresh clone before first build). The shims fix this by providing a stable, always-present entrypoint.The WSL2 docs change makes clear that
makeandbuild-essentialare required before runningpnpm i/pnpm run build, preventing native module build failures.Validation
pnpm i --ignore-scriptsintsworkspace — bin-link warnings no longer reproduced for these packages